package com.nai365.nart.operation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 用户抽签中将记录
 */
@Data
@TableName("opt_draw_lots_signup")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "用户抽签中将记录")
public class OptDrawLotsLog extends Model<OptDrawLotsLog> {

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value="id")
	private Long id;

	@ApiModelProperty(value="用户id")
	private Long userId;

	@ApiModelProperty(value="商品id")
	private Long goodsId;

	@ApiModelProperty(value="创建时间")
	private Date createTime;

	@ApiModelProperty(value="期数")
	private Integer serialNumber;

	@ApiModelProperty(value="商品订单号")
	private String orderSn;
}
